package model.item;

import model.mapping.ItemMapping;

public class DamageItem extends Item
{
	private int damageAmount;
	
	public DamageItem(int radius, ItemMapping im, int dmgAmt)
	{
		super("DAMAGE_ITEM", radius, im);
		
		damageAmount = dmgAmt;
	}
	
	public void affect(ItemUser p)
	{
		p.takeDamage(damageAmount);
	}

}
